﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="updateuserdata.aspx.cs" Inherits="updateuserdata" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Label ID="Label1" runat="server" Text="New password:"/><asp:TextBox ID="TextBox1" runat="server" TextMode="Password" />
        <asp:Label ID="Label4" runat="server"></asp:Label>
    <hr/>
    <asp:Label ID="Label2" runat="server" Text="New email:"/><asp:TextBox ID="TextBox2" runat="server"/>
    
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
          ControlToValidate="TextBox2"
            ErrorMessage="邮箱地址格式错误！" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
     <hr/>
     <asp:Label ID="Label3" runat="server" Text="New Major:"/><asp:DropDownList ID="DropDownList1" runat="server"/>
     <hr/>
     <asp:Button ID="Button1" runat="server" Text="ok? submit!" 
            onclick="Button1_Click"/>
    
    </div>
    </form>
</body>
</html>
